package com.wilcom.system.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wilcom.system.common.BaseResponse;
import com.wilcom.system.common.PageRequest;
import com.wilcom.system.domain.Repairrequest;
import com.wilcom.system.model.request.repairtask.GetRepairRequestsBy;

/**
* @author lishi
* @description 针对表【repairrequest】的数据库操作Service
* @createDate 2024-06-22 02:34:05
*/
public interface RepairrequestService extends IService<Repairrequest> {

    BaseResponse<Page<Repairrequest>> getAllRepairRequests();

    QueryWrapper<Repairrequest> getQueryWrapper(PageRequest postQueryRequest);

    QueryWrapper<Repairrequest> getPendingQueryWrapper(PageRequest postQueryRequest);
 
    QueryWrapper<Repairrequest> GetRepairRequestsBy(GetRepairRequestsBy postQueryRequest);

//    void validRepairRequests(ConfirmRepairRequest repairrequest);
}
